package com.wzcl.app.dao.repository;

import com.wzcl.app.dao.model.ActivityRuleInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface ActivityRuleInfoRepository extends JpaRepository<ActivityRuleInfo,Integer>, JpaSpecificationExecutor<ActivityRuleInfo> {
    List<ActivityRuleInfo> findAllByActivityRule_Id(Integer ruleId);
}
